package com.csun.cmny.provider.service;

import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.model.domain.DmcSleepCareData;
import com.csun.cmny.provider.model.dto.sleep.BedOldmanSleepReqDto;
import com.csun.cmny.provider.model.vo.SleepCareDataReqVo;
import com.csun.cmny.provider.model.vo.sleepcare.SleepCareRealDataVo;

import java.util.List;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-02-23 14:02
 * @Description: the interface dmc sleep care data service
 */
public interface DmcSleepCareDataService extends IService<DmcSleepCareData> {

    /**
     * query sleep care real data by device id
     *
     * @param deviceId  device id
     *
     * @return  sleep care real data vo
     */
    SleepCareRealDataVo querySleepCareRealDataByDeviceId(Long deviceId);

    /**
     * query sleep care data by bed oldman list
     *
     * @param bedOldmanSleepReqDtoList  bed oldman sleep req dto list
     *
     * @return  the list.
     */
    List<SleepCareDataReqVo> querySleepCareDataByBedOldmanList(List<BedOldmanSleepReqDto> bedOldmanSleepReqDtoList);
}
